﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class LabelStyle
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class LabelStyle
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Styles.LabelStyle">
  
  
  <h1 id="Mapsui_Styles_LabelStyle" data-uid="Mapsui.Styles.LabelStyle" class="text-break">Class LabelStyle
  </h1>
  <div class="markdown level0 summary"><p>Defines a style used for rendering labels</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="Mapsui.Styles.Style.html">Style</a></div>
    <div class="level2"><span class="xref">LabelStyle</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_MinVisible">Style.MinVisible</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_MaxVisible">Style.MaxVisible</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Enabled">Style.Enabled</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Opacity">Style.Opacity</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Equals_System_Object_">Style.Equals(Object)</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Equals_Mapsui_Styles_Style_">Style.Equals(Style)</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_GetHashCode">Style.GetHashCode()</a>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Styles.html">Mapsui.Styles</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.dll</h6>
  <h5 id="Mapsui_Styles_LabelStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LabelStyle : Style, IStyle</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle__ctor.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L94">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle__ctor_" data-uid="Mapsui.Styles.LabelStyle.#ctor*"></a>
  <h4 id="Mapsui_Styles_LabelStyle__ctor" data-uid="Mapsui.Styles.LabelStyle.#ctor">LabelStyle()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public LabelStyle()</code></pre>
  </div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle__ctor_Mapsui_Styles_LabelStyle_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.%23ctor(Mapsui.Styles.LabelStyle)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L108">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle__ctor_" data-uid="Mapsui.Styles.LabelStyle.#ctor*"></a>
  <h4 id="Mapsui_Styles_LabelStyle__ctor_Mapsui_Styles_LabelStyle_" data-uid="Mapsui.Styles.LabelStyle.#ctor(Mapsui.Styles.LabelStyle)">LabelStyle(LabelStyle)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public LabelStyle(LabelStyle labelStyle)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.LabelStyle.html">LabelStyle</a></td>
        <td><span class="parametername">labelStyle</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_BackColor.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.BackColor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L138">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_BackColor_" data-uid="Mapsui.Styles.LabelStyle.BackColor*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_BackColor" data-uid="Mapsui.Styles.LabelStyle.BackColor">BackColor</h4>
  <div class="markdown level1 summary"><p>The background color of the label. Set to transparent brush or null if background isn&apos;t needed</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Brush BackColor { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Brush.html">Brush</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_CollisionDetection.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.CollisionDetection%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L154">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_CollisionDetection_" data-uid="Mapsui.Styles.LabelStyle.CollisionDetection*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_CollisionDetection" data-uid="Mapsui.Styles.LabelStyle.CollisionDetection">CollisionDetection</h4>
  <div class="markdown level1 summary"><p>Gets or sets whether Collision Detection is enabled for the labels.
If set to true, label collision will be tested.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool CollisionDetection { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_Font.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.Font%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L128">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_Font_" data-uid="Mapsui.Styles.LabelStyle.Font*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_Font" data-uid="Mapsui.Styles.LabelStyle.Font">Font</h4>
  <div class="markdown level1 summary"><p>Label Font</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Font Font { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Font.html">Font</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_ForeColor.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.ForeColor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L133">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_ForeColor_" data-uid="Mapsui.Styles.LabelStyle.ForeColor*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_ForeColor" data-uid="Mapsui.Styles.LabelStyle.ForeColor">ForeColor</h4>
  <div class="markdown level1 summary"><p>Font color</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Color ForeColor { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_Halo.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.Halo%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L143">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_Halo_" data-uid="Mapsui.Styles.LabelStyle.Halo*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_Halo" data-uid="Mapsui.Styles.LabelStyle.Halo">Halo</h4>
  <div class="markdown level1 summary"><p>Creates a halo around the text</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Pen Halo { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Pen.html">Pen</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_HorizontalAlignment.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.HorizontalAlignment%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L159">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_HorizontalAlignment_" data-uid="Mapsui.Styles.LabelStyle.HorizontalAlignment*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_HorizontalAlignment" data-uid="Mapsui.Styles.LabelStyle.HorizontalAlignment">HorizontalAlignment</h4>
  <div class="markdown level1 summary"><p>The horisontal alignment of the text in relation to the labelpoint</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public LabelStyle.HorizontalAlignmentEnum HorizontalAlignment { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.LabelStyle.HorizontalAlignmentEnum.html">LabelStyle.HorizontalAlignmentEnum</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_LabelColumn.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.LabelColumn%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L188">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_LabelColumn_" data-uid="Mapsui.Styles.LabelStyle.LabelColumn*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_LabelColumn" data-uid="Mapsui.Styles.LabelStyle.LabelColumn">LabelColumn</h4>
  <div class="markdown level1 summary"><p>The column of the feature used by GetLabelText to return the label text.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string LabelColumn { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_LabelStyle_LabelColumn_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Used only when LabelMethod is not set. Overrides use of the Text field.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_LabelMethod.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.LabelMethod%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L192">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_LabelMethod_" data-uid="Mapsui.Styles.LabelStyle.LabelMethod*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_LabelMethod" data-uid="Mapsui.Styles.LabelStyle.LabelMethod">LabelMethod</h4>
  <div class="markdown level1 summary"><p>Method used by GetLabelText to return the label text.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Func&lt;IFeature, string&gt; LabelMethod { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">Func</span>&lt;<a class="xref" href="Mapsui.Providers.IFeature.html">IFeature</a>, <span class="xref">System.String</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_LabelStyle_LabelMethod_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Overrides use of Text and LabelColumn fields.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_LineHeight.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.LineHeight%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L180">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_LineHeight_" data-uid="Mapsui.Styles.LabelStyle.LineHeight*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_LineHeight" data-uid="Mapsui.Styles.LabelStyle.LineHeight">LineHeight</h4>
  <div class="markdown level1 summary"><p>Space from one text line to next text line in em</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double LineHeight { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_MaxWidth.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.MaxWidth%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L170">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_MaxWidth_" data-uid="Mapsui.Styles.LabelStyle.MaxWidth*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_MaxWidth" data-uid="Mapsui.Styles.LabelStyle.MaxWidth">MaxWidth</h4>
  <div class="markdown level1 summary"><p>Maximum width of text in em. If text is wider than this, text is shorten or 
word wrapped regarding WordWrap.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double MaxWidth { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_Offset.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.Offset%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L148">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_Offset_" data-uid="Mapsui.Styles.LabelStyle.Offset*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_Offset" data-uid="Mapsui.Styles.LabelStyle.Offset">Offset</h4>
  <div class="markdown level1 summary"><p>Specifies relative position of labels with respect to objects label point</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Offset Offset { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Offset.html">Offset</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_Text.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.Text%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L184">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_Text_" data-uid="Mapsui.Styles.LabelStyle.Text*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_Text" data-uid="Mapsui.Styles.LabelStyle.Text">Text</h4>
  <div class="markdown level1 summary"><p>The text used for this specific label.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Text { set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_LabelStyle_Text_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Used only when LabelColumn and LabelMethod are not set.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_VerticalAlignment.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.VerticalAlignment%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L164">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_VerticalAlignment_" data-uid="Mapsui.Styles.LabelStyle.VerticalAlignment*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_VerticalAlignment" data-uid="Mapsui.Styles.LabelStyle.VerticalAlignment">VerticalAlignment</h4>
  <div class="markdown level1 summary"><p>The horisontal alignment of the text in relation to the labelpoint</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public LabelStyle.VerticalAlignmentEnum VerticalAlignment { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.LabelStyle.VerticalAlignmentEnum.html">LabelStyle.VerticalAlignmentEnum</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_WordWrap.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.WordWrap%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L175">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_WordWrap_" data-uid="Mapsui.Styles.LabelStyle.WordWrap*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_WordWrap" data-uid="Mapsui.Styles.LabelStyle.WordWrap">WordWrap</h4>
  <div class="markdown level1 summary"><p>Line break mode for text, if width is bigger than MaxWidth</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public LabelStyle.LineBreakMode WordWrap { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.LabelStyle.LineBreakMode.html">LabelStyle.LineBreakMode</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle_GetLabelText_Mapsui_Providers_IFeature_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle.GetLabelText(Mapsui.Providers.IFeature)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L195">View Source</a>
  </span>
  <a id="Mapsui_Styles_LabelStyle_GetLabelText_" data-uid="Mapsui.Styles.LabelStyle.GetLabelText*"></a>
  <h4 id="Mapsui_Styles_LabelStyle_GetLabelText_Mapsui_Providers_IFeature_" data-uid="Mapsui.Styles.LabelStyle.GetLabelText(Mapsui.Providers.IFeature)">GetLabelText(IFeature)</h4>
  <div class="markdown level1 summary"><p>The text used for this specific label.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string GetLabelText(IFeature feature)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Providers.IFeature.html">IFeature</a></td>
        <td><span class="parametername">feature</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_LabelStyle.md&amp;value=---%0Auid%3A%20Mapsui.Styles.LabelStyle%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/LabelStyle.cs/#L26" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
